package com.codestudy.service;

import cn.undraw.util.result.R;
import com.baomidou.mybatisplus.extension.service.IService;
import com.codestudy.dto.CommentDTO;
import com.codestudy.entity.Comment;
import com.codestudy.vo.CommentVO;

import java.util.List;

/**
 * 评论表(Comment)表服务接口
 *
 * @author makejava
 * @since 2024-04-13 14:17:52
 */
public interface CommentService extends IService<Comment> {
    /**
     * 添加评论
     */
    R _save(CommentDTO commentDTO);

    List<CommentVO> commentSelect(Integer noteId);

    Integer selectUid(Integer id);

    Integer selectArticle(Integer id);
}
